﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Administrator/Tips/TipsAdminViewMaster.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NutriLeaf.Web.View.Administrator.Tips.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TipsAdminViewMasterHeadContent" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TipsAdminViewMasterMainContent" runat="server">

    Chooose a Category:<br />
    <p>
        Category :</p>
    <p>
        <asp:ListBox ID="MainCategoriesLB" runat="server" 
             Height="147px" Width="144px" DataTextField="CategoryName" 
            DataValueField="TipCategoryID" AutoPostBack="True" 
            onselectedindexchanged="MainCategoriesLB_SelectedIndexChanged">
            
            </asp:ListBox>
    </p>
    <p>
        Sub Categories : </p>
    <p>
        <asp:ListBox ID="SubCategoriesLB" runat="server"  
            Height="149px" Width="142px" DataTextField="CategoryName" 
            DataValueField="TipCategoryID" AutoPostBack="True" 
            onselectedindexchanged="SubCategoriesLB_SelectedIndexChanged"></asp:ListBox>
    </p>
    <br />
    <br />
    <br />

    <asp:Button ID="AdminManagetipCategoriesBtn" runat="server" 
        onclick="AdminManagetipCategoriesBtn_Click" Text="Manage Tip Categories" />
    <asp:Button ID="WriteTipBtn" runat="server" onclick="WriteTipBtn_Click" 
        Text="Write a Tip" />
    <asp:Button ID="DeleteTipBtn" runat="server" onclick="DeleteTipBtn_Click" 
        Text="Delete a Tip" />
    <asp:Button ID="ApproveTipBtn" runat="server" onclick="ApproveTipBtn_Click" 
        Text="Approve Tips" />

</asp:Content>
